const express = require("express")
const app = express()
const productRouter = require("./routers/productRouter")
const orderRouter = require("./routers/orderRouter")

app.use("./product", productRouter)
app.use("/order", orderRouter)

app.listen("8080", () => {
    console.log("服务已启动: http://127.0.0.1:8080");
})